import { post } from '@/utils/request'

// 分页查询品牌信息
export const getBrandPageList = p => post(`/service-system/b/sysbrand/v1/pageList`, p)

// 查询品牌信息列表
export const getBrandList = p => post(`/service-system/b/sysbrand/v1/effectivePageList`, p)

// 查看品牌详情
export const getBrand = p => post(`/service-system/b/sysbrand/v1/view/${p}`, p)

// 修改品牌信息
export const modifyBrand = p => post(`/service-system/b/sysbrand/v1/modify`, p)

// 添加品牌信息
export const addBrand = p => post(`/service-system/b/sysbrand/v1/add`, p)

// 删除品牌信息
export const delBrand = p => post(`/service-system/b/sysbrand/v1/del/${p}`, p)

// 品牌状态修改
export const changeStatus = p => post(`/service-system/b/sysbrand/v1/changeStatus/${p.id}/${p.status}`, p)
